/**
 * 学员答题记录表
 */
package com.springboot.original.domain;

import org.springframework.data.cassandra.core.mapping.PrimaryKey;
import org.springframework.data.cassandra.core.mapping.Table;

import java.util.Date;

@Table
public class StudentAnswerQuestionRecord {
	@PrimaryKey
	private StudentAnswerQuestionRecordKey pKey = null;
	private Integer answerStatus; // 状态 0：未做 1：正确 2：错误 3：超时 4:主观题答案未知批改中
	private String answerContent; // 答案
	private String answerUrl; // 主观题答题地址
	private String paperId = null;
	private Date createTime = new Date();
	//批改端需要的数据 科目名称
	private String subjectName;
	//批改端需要的数据 任务作业名称
	private String taskName;
	/**
	 * 主观题作答记录主键ID列表：subjectiveAnswerIds.get(0);表示最新一次作答记录
	 * 存放StudentAnswerSubjectiveRecord.id
	 */
	private String subjectiveAnswerIds = "";
	/*-------------------下面属性本项目不用-------------------*/

	private String courseLevelId; // 关卡id
	private String classId; // 业务系统班级id
	private String curriculumId; // 业务系统课次id
	private String classLevelId; // 班型id
	private String courseId; // IPS课次ID
	private String courseLevelTypeId; // IPS课次关卡类型ID
	private String year; // 班型year
	private String termId; // 班型学期
	private String gradeId; // 班型年级
	private String subjectId; // 班型学科id
	private String className; // 班级名称
	private String studentUid;
	private Integer curriculumOrder; // 业务系统课次排序
	private Integer courseLevelOrder; // ips关卡排序
	private String studentName; // 学生名称
	private String cityCode; // 城市区号
	private Integer levelQuestionStatus;// 0全客观题关卡 1关卡有主观题
	private String classOverTime; // 下课时间
	private Integer levelVersion;// 关卡版本
	@Deprecated
	private String padVersion;// pad版本 手机移动端写死传3
	private Integer courseLevelTime;// 关卡用时
	@Deprecated
	private Integer fromSys;// 0:pad 1:ips系统内部,手机移动端传2
	// 单题维度
	private Integer elapsedTime; // 答题耗费时间 int类型,s为单位
	private String startTime; // 答题开始时间yyyy-MM-dd HH:mm:ss 24小时制时间类型字符串
	private Integer score; // 得分
	private String questionNum; // IPS题目序号
	private String knowledgeId; // 知识点id
	private String knowledgeId2; // 3级知识点
	private Integer questionTypeStatus; // 参照CommitQuestionType
	private Integer levelStepStatus; // 1关卡非最后一题 2关卡最后一题 3.课次最后一题
	private Integer imgSourceStatus;// 0存储在服务器 1存储在阿里云
	private Integer gradeType;// 年级类型 1小低 2 小高
	private Integer opusLength; // 视频长度
	private String opusUrl; // 视频地址
	private String opusImgUrl; // 视频展示缩略图地址
	private String opusName; // 视频名字
	private String requestId;// 主观题提交阿里云
	private Integer planTime;// 倒计时时间

	public String getStudentUid() {
		return studentUid;
	}

	public void setStudentUid(String studentUid) {
		this.studentUid = studentUid;
	}

	public StudentAnswerQuestionRecordKey getpKey() {
		return pKey;
	}
	public void setpKey(StudentAnswerQuestionRecordKey pKey) {
		this.pKey = pKey;
	}
	public Integer getAnswerStatus() {
		return answerStatus;
	}
	public void setAnswerStatus(Integer answerStatus) {
		this.answerStatus = answerStatus;
	}
	public String getAnswerContent() {
		return answerContent;
	}
	public void setAnswerContent(String answerContent) {
		this.answerContent = answerContent;
	}
	public String getAnswerUrl() {
		return answerUrl;
	}
	public void setAnswerUrl(String answerUrl) {
		this.answerUrl = answerUrl;
	}
	public String getPaperId() {
		return paperId;
	}
	public void setPaperId(String paperId) {
		this.paperId = paperId;
	}
	public String getCourseLevelId() {
		return courseLevelId;
	}
	public void setCourseLevelId(String courseLevelId) {
		this.courseLevelId = courseLevelId;
	}
	public String getClassId() {
		return classId;
	}
	public void setClassId(String classId) {
		this.classId = classId;
	}
	public String getCurriculumId() {
		return curriculumId;
	}
	public void setCurriculumId(String curriculumId) {
		this.curriculumId = curriculumId;
	}
	public String getClassLevelId() {
		return classLevelId;
	}
	public void setClassLevelId(String classLevelId) {
		this.classLevelId = classLevelId;
	}
	public String getCourseId() {
		return courseId;
	}
	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}
	public String getCourseLevelTypeId() {
		return courseLevelTypeId;
	}
	public void setCourseLevelTypeId(String courseLevelTypeId) {
		this.courseLevelTypeId = courseLevelTypeId;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getTermId() {
		return termId;
	}
	public void setTermId(String termId) {
		this.termId = termId;
	}
	public String getGradeId() {
		return gradeId;
	}
	public void setGradeId(String gradeId) {
		this.gradeId = gradeId;
	}
	public String getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(String subjectId) {
		this.subjectId = subjectId;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public Integer getCurriculumOrder() {
		return curriculumOrder;
	}
	public void setCurriculumOrder(Integer curriculumOrder) {
		this.curriculumOrder = curriculumOrder;
	}
	public Integer getCourseLevelOrder() {
		return courseLevelOrder;
	}
	public void setCourseLevelOrder(Integer courseLevelOrder) {
		this.courseLevelOrder = courseLevelOrder;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public String getCityCode() {
		return cityCode;
	}
	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
	public Integer getLevelQuestionStatus() {
		return levelQuestionStatus;
	}
	public void setLevelQuestionStatus(Integer levelQuestionStatus) {
		this.levelQuestionStatus = levelQuestionStatus;
	}
	public String getClassOverTime() {
		return classOverTime;
	}
	public void setClassOverTime(String classOverTime) {
		this.classOverTime = classOverTime;
	}
	public Integer getLevelVersion() {
		return levelVersion;
	}
	public void setLevelVersion(Integer levelVersion) {
		this.levelVersion = levelVersion;
	}
	public String getPadVersion() {
		return padVersion;
	}
	public void setPadVersion(String padVersion) {
		this.padVersion = padVersion;
	}
	public Integer getCourseLevelTime() {
		return courseLevelTime;
	}
	public void setCourseLevelTime(Integer courseLevelTime) {
		this.courseLevelTime = courseLevelTime;
	}
	public Integer getFromSys() {
		return fromSys;
	}
	public void setFromSys(Integer fromSys) {
		this.fromSys = fromSys;
	}
	public Integer getElapsedTime() {
		return elapsedTime;
	}
	public void setElapsedTime(Integer elapsedTime) {
		this.elapsedTime = elapsedTime;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
	public String getQuestionNum() {
		return questionNum;
	}
	public void setQuestionNum(String questionNum) {
		this.questionNum = questionNum;
	}
	public String getKnowledgeId() {
		return knowledgeId;
	}
	public void setKnowledgeId(String knowledgeId) {
		this.knowledgeId = knowledgeId;
	}
	public String getKnowledgeId2() {
		return knowledgeId2;
	}
	public void setKnowledgeId2(String knowledgeId2) {
		this.knowledgeId2 = knowledgeId2;
	}
	public Integer getQuestionTypeStatus() {
		return questionTypeStatus;
	}
	public void setQuestionTypeStatus(Integer questionTypeStatus) {
		this.questionTypeStatus = questionTypeStatus;
	}
	public Integer getLevelStepStatus() {
		return levelStepStatus;
	}
	public void setLevelStepStatus(Integer levelStepStatus) {
		this.levelStepStatus = levelStepStatus;
	}
	public Integer getImgSourceStatus() {
		return imgSourceStatus;
	}
	public void setImgSourceStatus(Integer imgSourceStatus) {
		this.imgSourceStatus = imgSourceStatus;
	}
	public Integer getGradeType() {
		return gradeType;
	}
	public void setGradeType(Integer gradeType) {
		this.gradeType = gradeType;
	}
	public Integer getOpusLength() {
		return opusLength;
	}
	public void setOpusLength(Integer opusLength) {
		this.opusLength = opusLength;
	}
	public String getOpusUrl() {
		return opusUrl;
	}
	public void setOpusUrl(String opusUrl) {
		this.opusUrl = opusUrl;
	}
	public String getOpusImgUrl() {
		return opusImgUrl;
	}
	public void setOpusImgUrl(String opusImgUrl) {
		this.opusImgUrl = opusImgUrl;
	}
	public String getOpusName() {
		return opusName;
	}
	public void setOpusName(String opusName) {
		this.opusName = opusName;
	}
	public String getRequestId() {
		return requestId;
	}
	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}
	public Integer getPlanTime() {
		return planTime;
	}
	public void setPlanTime(Integer planTime) {
		this.planTime = planTime;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getSubjectiveAnswerIds() {
		return subjectiveAnswerIds;
	}
	public void setSubjectiveAnswerIds(String subjectiveAnswerIds) {
		this.subjectiveAnswerIds = subjectiveAnswerIds;
	}
	public String getSubjectName() {
		return subjectName;
	}
	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	@Override
	public String toString() {
		return "StudentAnswerQuestionRecord [pKey=" + pKey + ", answerStatus=" + answerStatus + ", answerContent="
				+ answerContent + ", answerUrl=" + answerUrl + ", paperId=" + paperId + ", taskId=" + pKey.getTaskId()
				+ ", courseLevelId=" + courseLevelId + ", classId=" + classId + ", curriculumId=" + curriculumId
				+ ", classLevelId=" + classLevelId + ", courseId=" + courseId + ", courseLevelTypeId="
				+ courseLevelTypeId + ", year=" + year + ", termId=" + termId + ", gradeId=" + gradeId + ", subjectId="
				+ subjectId + ", className=" + className + ", curriculumOrder=" + curriculumOrder
				+ ", courseLevelOrder=" + courseLevelOrder + ", studentName=" + studentName + ", cityCode=" + cityCode
				+ ", levelQuestionStatus=" + levelQuestionStatus + ", classOverTime=" + classOverTime
				+ ", levelVersion=" + levelVersion + ", padVersion=" + padVersion + ", courseLevelTime="
				+ courseLevelTime + ", fromSys=" + fromSys + ", elapsedTime=" + elapsedTime + ", startTime=" + startTime
				+ ", score=" + score + ", questionNum=" + questionNum + ", knowledgeId=" + knowledgeId
				+ ", knowledgeId2=" + knowledgeId2 + ", questionTypeStatus=" + questionTypeStatus + ", levelStepStatus="
				+ levelStepStatus + ", imgSourceStatus=" + imgSourceStatus + ", gradeType=" + gradeType
				+ ", opusLength=" + opusLength + ", opusUrl=" + opusUrl + ", opusImgUrl=" + opusImgUrl + ", opusName="
				+ opusName + ", requestId=" + requestId + ", planTime=" + planTime + ", createTime=" + createTime
				+ ", subjectiveAnswerIds=" + subjectiveAnswerIds + "]";
	}
}
